package com.platform.service.impl;

import com.platform.dao.UserHotelDao;
import com.platform.service.UserHotelService;
import com.platform.vo.UserHotelVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class UserHotelServiceImpl implements UserHotelService {
    @Autowired
    private UserHotelDao userHotelDao;
    @Override
    public List<UserHotelVo> queryUserHotelList(Map<String, Object> map) {
        return userHotelDao.queryUserHotelList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return userHotelDao.queryTotal();
    }
}
